import server from '../../server'

// 获取商品列表
const getGoodsList = async () => {
    let {data} = await server.get('/small4/shop/goods/list')
    return data
}

// 获取登录接口
const getLogin = async function(obj) {
    const  {data}  = await server({
        url: '/small4/user/m/login?deviceId=007&deviceName=monkey',
        params: {
            mobile: obj.tel,
            pwd:obj.password
        }
    })
    return data;
}
export {
    getGoodsList,
    getLogin
}